package com.touna.domain;

import java.io.Serializable;

public class Response<T> implements Serializable {
    private static final long serialVersionUID = 3715837692826438329L;
    private String flag;
    private String code;
    private String msg;
    private String flowNo;
    private T data;

    public Response() {
    }

    public Response success() {
        return this;
    }

    public Response success(T data) {
        this.data = data;
        return this.success();
    }


}